import { defineNuxtConfig } from 'nuxt3';

// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
export default defineNuxtConfig({
    srcDir: './',
    server: {
        port: 3088,
    },
    vite: {
        server: {
            watch: {
                usePolling: true,
            },
        },
    },
    router: {
        linkExactActiveClass: "text-primary",
        // 扩展路由
        routes: [
            {
                name: "home",
                path: "/home",
                component: () => import("pages/index.vue"),
            },
        ],
    },
});
